package net.peelmeagrape.hibernate.sql;

import net.peelmeagrape.hibernate.xmlgen.*;
import net.peelmeagrape.hibernate.Synchronize;

import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Retention(RUNTIME)
@GroupingAnnotation
public @interface SqlQueryElement
{
    ReturnScalar[] scalar() default {};
    Return[] prop() default {};
    ReturnJoin[] join() default {};
    LoadCollection[] collection() default {};
    Synchronize[] synchronize() default {};
}
